package com.neo.web;
import java.util.List;

import javax.servlet.http.HttpSession;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import com.neo.entity.ShopEntity;
import com.neo.service.IShopService;

@RestController
@RequestMapping("/shop")
public class ShopController {
	
	@Autowired
	 private  IShopService shopService;
	@ResponseBody
	@RequestMapping(value="/listall",method=RequestMethod.GET)
	public List<ShopEntity> getFoodListAll( HttpSession session){
		//获取全部门店	
			return	shopService.getFoodListAll();
	}

	
}